package com.jic.member.mapper;

import com.jic.member.entity.DisCashLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 提现/结算记录
 * @author : 
 * @email : 
 * @since : 2020-09-30 18:00:00
 * @version : v1.0.0
 */
@Mapper
public interface DisCashLogMapper {

    long insert(DisCashLog disCashLog);

    long delete(Long id);

    long update(DisCashLog disCashLog);

    DisCashLog queryByPrimaryKey(Long id);

    List<DisCashLog> query(DisCashLog disCashLog);

    List<DisCashLog> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("disCashLog") DisCashLog apply);

    long queryPageCount(DisCashLog disCashLog);

    BigDecimal getWithdrawalCount(DisCashLog disCashLog);
}